//
//  Tips.m
//  NBTripe
//
//  Created by 陈曦 on 16/1/11.
//  Copyright © 2016年 Vicki. All rights reserved.
//

#import "Tips.h"

@implementation Tips

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"poi"]) {
        self.poiModel = [[Poi alloc] initWithDataSource:value];
    }
    if ([key isEqualToString:@"user"]) {
        self.userModel = [[User alloc] initWithDataSource:value];
    }
    
    
}

@end
